module.exports = (req,res,next) => {
	if(req.session.username){
		next();
		return;
	}
	res.json({
		errno:0,
		data:'没有登陆'
	});
};